package com.hkfrich.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hkfrich.system.domain.SysRoleMenu;

import java.util.List;

/**
 * @ClassName 角色菜单关联Mapper接口
 * @Desscription
 * @Author _Heishuai
 * @Date 2022-09-20 20:54:13
 * @Version 1.0
 */
public interface SysRoleMenuMapper extends BaseMapper<SysRoleMenu> {

    int checkMenuExistRole(Long id);

    int batchRoleMenu(List<SysRoleMenu> roleMenuList);

    int deleteRoleMenuByRoleId(Long id);

    int deleteRoleMenu(List<Long> roleIds);
}
